// 通过type来声明
// type Infotype = {
//     name: string,
//     age: number
// }

// 通过interface来声明
interface InfoType {
   readonly name: string
    age: number
    friend?: {
        name: string
    }
}

const info = {
    name: 'zs',
    age: 18
}

export {}